import http from "../../utils/http";

export function getBlogTypeListApi(data) {
    return http({
        url: '/blog/getBlogTypeAll',
        method: 'get',
        data: data
    })
}

export function getBlogTextListApi(data) {
    return http({
        url: '/blog/getBlogTextList',
        method: 'post',
        data: data
    })
}

export function deleteBlogApi(data) {
    return http({
        url: '/blog/deleteBlog',
        method: 'post',
        data: data
    })
}

export function editBlogApi(data) {
    return http({
        url: '/blog/editBlog',
        method: 'post',
        data: data
    })
}
